﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>无标题页</title>
    <title>流程设计器</title>
    <link href="../Css/hfmanger.css" rel="stylesheet" type="text/css" />
    <script   language="JavaScript">     
  <!--     
  if   (window.Event)       
      document.captureEvents(Event.MOUSEUP);       
  function   nocontextmenu()       
  {     
    event.cancelBubble   =   true     
    event.returnValue   =   false;     
        
    return   false;     
  }     
        
  function   norightclick(e)       
  {     
    if   (window.Event)       
    {     
      if   (e.which   ==   2   ||   e.which   ==   3)     
        return   false;     
    }     
    else     
      if   (event.button   ==   2   ||   event.button   ==   3)     
      {     
        event.cancelBubble   =   true     
        event.returnValue   =   false;     
        return   false;     
      }     
        
  }     
        
  document.oncontextmenu   =   nocontextmenu;     //   for   IE5+     
  document.onmousedown   =   norightclick;     //   for   all   others     
  //-->     
  </script>
</head>
<body>
<div align=center>
    <fieldset style="width:90%" >
        <table style="width: 100%">
            <tr>
                <td style="text-align: center">
                    <span style="color: #3300ff; font-family: 楷体_GB2312"><strong>流程模板设计</strong></span></td>
            </tr>
            <tr>
                <td>
        <object id="AXWorkFlowTool" classid="http:ax\AXWorkFlowTool.dll#HF.ActiveXClass.AxWorkFlowTool"
            height="500" width="100%">
        </object>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
        </table>
        </fieldset>
       </div>

    <script>
        function Request(strName)
        {
            var strHref = window.document.location.href;
            var intPos = strHref.indexOf("?");
            var strRight = strHref.substr(intPos + 1);

            var arrTmp = strRight.split("&");
            for(var i = 0; i < arrTmp.length; i++)
            {
                var arrTemp = arrTmp[i].split("=");

                if(arrTemp[0].toUpperCase() == strName.toUpperCase()) return arrTemp[1];
            }
            return "";
        }

        function initTool() 
        {
          
           AXWorkFlowTool.InitWebTool(Request("WorkflowId"),Request("UserId"),Request("UserName"));
           //AXWorkFlowTool.InitWebTool("36a7cc82-e30a-4dbb-8d58-4b9c9ccc45e3","e","2");
        }
        initTool();
    </script>
</body>
</html>
